#include "GLTFLoader.h"

#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION

namespace SL
{

    void GLTFLoader::ProcessTextures(const tinygltf::Model& model)
    {
        for (size_t i = 0; i < model.textures.size(); ++i)
        {
            const auto& texture = model.textures[i];
            const auto& image = model.images[texture.source];

            TextureData textureData = {};
            // CreateTextureResource(image, textureData);
            m_textures.push_back(std::move(textureData));
        }
    }


}